/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package kalc.deuxdee;

/**
 *
 * @author martin
 */
public interface DeuxDee extends Iterable<Integer>{

  /**
   * getter h
   * @return heigth
   */
  int h();

  /**
   * getter index
   * @param x
   * @param y
   * @return index from x,y
   */
  int index(int x, int y);

  /**
   * getter size
   * @return size
   */
  int size();

  /**
   * getter width
   * @return width
   */
  int w();

  /**
   * getter x
   * @param index
   * @return x from index
   */
  int x(int index);

  /**
   * getter y
   * @param index
   * @return y from index
   */
  int y(int index);
  
}
